Generate a deterministic gprofng example documentation tarball
authorJames Addison <jay@jp-hosting.net>
Sun, 1 Feb 2026 09:59:08 +0000 (10:59 +0100)
committerMatthias Klose <doko@debian.org>
Sun, 1 Feb 2026 09:59:08 +0000 (10:59 +0100)
Bug-Debian: https://bugs.debian.org/1090395
Bug-Debian: https://bugs.debian.org/1092870
Last-Update: 2025-01-13

Gbp-Pq: Name gprofng-examples-tgz-deterministic.diff

gprofng/doc/Makefile.am
gprofng/doc/Makefile.in

index 3ce2203fc5272afc4a0ae7e5250e7f493f017864..0ebf8fe0b7c4116af33c71b53d7c765b2fc134bf 100644 (file)
@@ -63,7 +63,7 @@ EXTRA_DIST = $(man_MANS) version.texi
 info: $(man_MANS)
 
 examples.tar.gz:
-       $(AM_V_at)( tar czf $@ $(srcdir)/../examples )
+       $(AM_V_at)( tar czf $@ --sort=name --mtime="@${SOURCE_DATE_EPOCH}" --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime --mode=a=rX,u+w $(srcdir)/../examples )
 
 .PHONY: install-data-local
 
index 738aa16acf2026f6b86b5f3cdb3623f357371638..aa0f424cca4a8dadc0c673cbf2e1813ff86ea437 100644 (file)
@@ -905,7 +905,7 @@ gprofng-display-gmon.1: $(srcdir)/gprofng-display-gmon.texi
 info: $(man_MANS)
 
 examples.tar.gz:
-       $(AM_V_at)( tar czf $@ $(srcdir)/../examples )
+       $(AM_V_at)( tar czf $@ --sort=name --mtime="@${SOURCE_DATE_EPOCH}" --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime --mode=a=rX,u+w $(srcdir)/../examples )
 
 .PHONY: install-data-local